package com.example.demo.security.jwt;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ToString
@Component
@ConfigurationProperties(prefix="jwt.token")
public class JwtProperties {

    private String header;


    private String secret;


    private Long validity;

}


